package cn.iocoder.yudao.module.project.controller.admin.workstation.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 工位新增/修改 Request VO")
@Data
public class WorkstationSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "16424")
    private Integer id;

    @Schema(description = "工位序号")
    private String workstationIndex;

    @Schema(description = "工位名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "工位名称不能为空")
    private String workstationName;

    @Schema(description = "部门")
    private Integer department;

    @Schema(description = "工艺顺序")
    private Integer processOrder;

    @Schema(description = "工位业务")
    private String business;

    @Schema(description = "是否控制")
    private Integer isControl;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "电子秤id")
    private Integer electronicScaleId;

    @Schema(description = "电子秤")
    private String electronicScaleName;

    @Schema(description = "用户id")
    private Long userId;

    @Schema(description = "用户名")
    private String username;

}
